3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
When you pass the kQAGestalt_OptionalFeatures selector to the QAEngineGestalt function, QAEngineGestalt returns (through its response parameter) a value that indicates the optional features supported by a drawing engine. You can use these masks to test that value for a specific feature. The bits corresponding to supported features are ORed together to determine the returned value.
A drawing engine may support an optional feature in software only (that is, unaccelerated). You can use the kQAGestalt_FastFeatures selector to determine which, if any, features are accelerated by a drawing engine.
#define kQAOptional_None 0
#define kQAOptional_DeepZ (1 << 0)
#define kQAOptional_Texture (1 << 1)
#define kQAOptional_TextureHQ (1 << 2)
#define kQAOptional_TextureColor (1 << 3)
#define kQAOptional_Blend (1 << 4)
#define kQAOptional_BlendAlpha (1 << 5)
#define kQAOptional_Antialias (1 << 6)
#define kQAOptional_ZSorted (1 << 7)
#define kQAOptional_PerspectiveZ (1 << 8)
#define kQAOptional_OpenGL (1 << 9)
#define kQAOptional_NoClear (1 << 10)
#define kQAOptional_CSG (1 << 11)
#define kQAOptional_BoundToDevice (1 << 12)
#define kQAOptional_CL4 (1 << 13)
#define kQAOptional_CL8 (1 << 14)
#define kQAOptional_BufferComposite (1 << 15)
Previous | QD3D Book | Overview | Chapter Contents | Next |